import baseButton from './baseButton'

function init() {
  console.log('这是一个本地的工具库1')
}


const allComponents = {
  baseButton
}


const createUI = (components = allComponents) => {
  const install = (app) => {
    for (const key in components) {
      const component = components[key];
      app.component(key, component);
    }
  };
  return {install};
};

export {
  baseButton,
  init,
  createUI
}
export default {
  baseButton,
  init,
  createUI
}

